tcpreplay: compile as gnu11
authorRosen Penev <[email protected]>
Mon, 4 Aug 2025 22:46:21 +0000 (15:46 -0700)
committerAlexandru Ardelean <[email protected]>
Tue, 12 Aug 2025 08:37:06 +0000 (11:37 +0300)
Fixes compilation under GCC15.

Signed-off-by: Rosen Penev <[email protected]>
net/tcpreplay/Makefile

index 55c4d33c8d5b44c172349fa6b4beff947b932627..209173a88ce795e653da198f719817fa9c9e5333 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=tcpreplay
 PKG_VERSION:=4.5.1
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://github.com/appneta/tcpreplay/releases/download/v$(PKG_VERSION)
@@ -144,6 +144,8 @@ CONFIGURE_ARGS += \
        --with-libdnet="$(STAGING_DIR)/usr" \
        --with-libpcap="$(STAGING_DIR)/usr"
 
+TARGET_CFLAGS += -std=gnu11
+
 define tcpreplayTemplate
   define Package/$(1)/install
     $(INSTALL_DIR) $$(1)/usr/bin ; \